package Cani;
//umplere cana 1
public class U1 extends Operator{

	public boolean condition(Nod n){
		if(n.getX()<getMaxCapacityC1())
			return true;
		else return false;
	}
	public Nod action(Nod n){
		Nod clone=new Nod(n);
		clone.setX(getMaxCapacityC1());
		return clone;
	}
}
